package com.chaos.system.dto;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "RbacPermissionMenuBtnData", description = "权限菜单按钮关联表")
public class RbacPermissionMenuBtnDto extends DATA {


    @ApiModelProperty(value = "权限id")
    private List<Long> permissionIds;


    @ApiModelProperty(value = "菜单或按钮id")
    private Long menuOrBtnId;


    @ApiModelProperty(value = "关联类型 1 菜单 2 按钮")
    private Integer correlationType;


}
